<!--内容赋值-->
<?php
$this->title="有试吗-有事没事来试试";
$conId = Yii::$app->controller->id;
use services\models\OrderInfoDetail;
?>

<!--加载样式-->
<?php $this->beginBlock('css');?>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="<?=Yii::getAlias('@static')?>/wap/liketry/css/user.css">
<?php $this->endBlock();?>

	<header>
	  <div class="header-left" onclick="history.go(-1)"><span class="icon icon-arrow-left"></span></div>
	  <h1>物流详情</h1>
	  <div class="header-right" onclick="$.go('<?=Yii::$app->urlManager->createUrl(['index'])?>');" ><span class="icon icon-home"></span></div>
	</header>
	<section class="order-wuliu">

        <p class="wuliu-num box-sizing">

            <?php if(isset($orderInfo['lgistics']['delivery_id']) && array_key_exists($orderInfo['lgistics']['delivery_id'],OrderInfoDetail::$EXPRESS_INFO)):?>
                <?=OrderInfoDetail::$EXPRESS_INFO[$orderInfo['lgistics']['delivery_id']] ?>:<?=$orderInfo['delivery_code']?></p>
            <?php endif;?>


            <ul class='box box-vertical'>
                <?php if($logicInfo) :?>
                    <?php foreach($logicInfo as $val) :?>
                        <li>
                            <p>【<?=$val['exec_station']?>】<?=$val['exec_address']?></p>
                            <p class="time"><?=$val['exec_time']?></p>
                        </li>
                    <?php endforeach ;?>
                    <?php else:?>
                    <li>
                      暂无物流状态
                    </li>
                <?php endif ;?>
		</ul>
	</section>
<!--加载js-->
<?php $this->beginBlock('js');?>
<script src="<?=Yii::getAlias('@static')?>/wap/common/js/zepto.min.js"></script>
<?php $this->endBlock();?>